package com.godofgamblers.hotelmanagementsystem.handler;

import lombok.Data;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;


@Data
@Controller
public class HtmlHandler {

    @RequestMapping("/about")
    public String about() {
        return "/front_about.html";
    }

    @RequestMapping("/contact")
    public String contact() {
        return "/front_contact.html";
    }

    @RequestMapping("/dinning")
    public String dining() {
        return "/front_dinning.html";
    }

    @RequestMapping("/gallery")
    public String gallery() {
        return "/front_gallery.html";
    }

    @RequestMapping("/indexs")
    public String index() {
        return "/front_index.html";
    }

    @RequestMapping("/news")
    public String news() {
        return "/front_news.html";
    }

    @RequestMapping("/rooms")
    public String rooms() {
        return "/front_rooms.html";
    }


}
